﻿<%@ Page Language="C#" MasterPageFile="~/Themes/MasterPage.master" %>

<script runat="server">

    private OrderInfo order;
    public OrderInfo Order
    {
        get
        {
            if (this.order == null)
                this.order = Orders.GetOrder(OrderId);
            
            return order;
        }
    }

    public int OrderId
    {
        get { return SiteContext.Current.Id; }
    }
</script>

<asp:Content ID="Content1" ContentPlaceHolderID="mainContent" runat="Server">
    <div class="order">
        <div class="success">
            <h3>
                <%--Order has been submitted successfully, we will as soon as possible, please be patient!--%>
                Payment as soon as possible. 
                We will retain your order 72 hours, if still not 72 hours after your payment, we will automatically cancel the order. </h3>
            <h2>
                Order No. <span><a href="<%= Urls.Order(OrderId) %>"><%= OrderId %></a></span></h2>
            <div style="padding-left:25px;padding-top:10px;">
                You need to pay
                <br />
                <br />
                <%= string.Format(this.Strings["OrderShow_PriceStatFormat"], CurrencyServices.ForamtPrice(Order.ProductPrices), CurrencyServices.ForamtPrice(Order.LogisticsPrices), CurrencyServices.ForamtPrice(Order.Insurance), CurrencyServices.ForamtPrice(Order.TotalPrices))%></div>
            <%--<div style="padding-top: 10px; line-height: 1.8;" class="fs14 b">
                    Please order as soon as possible after the payment of PayPal payment. <br />
                    We will retain your order 72 hours, if still not received after 72 hours of your payment, we will automatically cancel the order.</div>--%>
            <lswweb:SkinControl ID="payment" SkinFileName="Globals_PayMethods.ascx" runat="server" />
            <div style="padding-top: 5px;text-align:right;">
                <a style="color: rgb(30, 76, 154);" href="<%= Urls.Home %>">Continue Shopping...</a></div>
        </div>
    </div>
</asp:Content>
